import Vue from 'vue'
import Router from 'vue-router'
import index from '../www/index'
import marked from '../components/marked'
import about from '../www/about'
import detail from '../www/detail'


Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/marked',
      name: 'marked',
      component: marked
    },
    {
      path: '/about',
      name: 'about',
      component: about
    },
    {
      path: '/detail',
      name: 'detail',
      component: detail
    }
  ]
})
